<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>选择线上或线下就餐</title>
    <style>
        /* 添加一些基本样式来美化页面 */
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            background-color: #f0f0f2;
        }
        h1 {
            color: #333;
        }
        .button {
            display: inline-block;
            padding: 10px 20px;
            margin: 10px;
            font-size: 16px;
            color: #fff;
            background-color: #3498db;
            border: none;
            border-radius: 5px;
            text-decoration: none;
            cursor: pointer;
        }
        .button:hover {
            background-color: #2980b9;
        }
    </style>
<%
String restaurant_name = request.getParameter("restaurant_name");
String customer_name = request.getParameter("customer_name");%>
</head>
<body>
  <h1>您想要线上还是线下就餐？</h1>
    <div>
        <a href='onLine.jsp?customer_name=<%=customer_name%>&restaurant_name=<%=restaurant_name %>' class="button">线上订餐</a>
        <a href='offline.jsp?customer_name=<%=customer_name%>&restaurant_name=<%=restaurant_name %>' class="button">线下取餐</a>
    </div>
</body>
</html>